<div id="content" >
<div class="breadcrumb">
					<p><a href="<?php echo $this->Html->url(array('controller' => 'resourceinfos', 'action'=>'index')); ?>">Tự giới thiệu</a> &gt; Nhịp cầu thương hiệu</p>
				</div>
			<div class="group1" style="margin-top: 10px">
				
<div class="box_search">
					<form action="<?php echo $this->Html->url(array('controller'=>'resourceinfos', 'action' => 'ncth_cat')); ?>" method="POST" id="filter_index">
						<div class="detail_search">
							<p class="key_title">Nhịp cầu thương hiệu</p>
							
							<div class="select_box">

								<input type="text" name="filter_keyword" value="" class="keyword" style="width:124px !important" />
								<select onchange="$('#filter_index').submit();" name="filter_city_id">
								    <option value="all"><?php __('Tỉnh/Thành'); ?></option>
								    <?php foreach($cities as $c ) {
									$selected = "";
									if($c["City"]["id"] == $city_id)
									{
									    $selected = 'selected="selected"';
									}
								    ?>
									<option value="<?php echo $c["City"]["id"] ?>" <?php echo $selected; ?> ><?php echo $c["City"]["name"] ?></option>
								    <?php } ?>
								</select>
								<select onchange="$('#filter_index').submit();" name="filter_district_id" id="ResourceinfoDistrictId">
								    <option value="all">- <?php __('Quận/Huyện'); ?> -</option>
								    <?php foreach($districts as $d ) {
									$selected = "";
									if($d["District"]["id"] == $district_id)
									{
									    $selected = 'selected="selected"';
									}
								    ?>
									<option value="<?php echo $d["District"]["id"] ?>" <?php echo $selected; ?> ><?php echo $d["District"]["name"] ?></option>
								    <?php } ?>
								</select>
								<select onchange="$('#filter_index').submit();" name="filter_career_id" id="ResourceinfoCareerId">
								    <option value="all">- <?php __('Ngành nghề'); ?> -</option>
								    <?php foreach($careers as $ca ) {
									$selected = "";
									if($ca["Career"]["id"] == $career_id)
									{
									    $selected = 'selected="selected"';
									}
								    ?>
									<option value="<?php echo $ca["Career"]["id"] ?>" <?php echo $selected; ?> ><?php echo $ca["Career"]["name"] ?></option>
								    <?php } ?>
								</select>
							</div><!--end select_box-->
						</div><!-- end detail_search-->
					</form>

				</div><!--end box_search-->					
				
					

	<?php foreach($careersx as $cc => $itemz) { ?>
				<div class="table_list">
					<table width="100%" cellspacing="0" cellpadding="0" border="0" id="ncdt">
						<tbody><tr class="title">
							<td colspan="5">&gt;&gt; <?php echo $itemz["Career"]["name"]  ?></td>

						</tr>
						
						<?php foreach($itemz['products'] as $k => $item) {
							if($k%5 == 0) echo "<tr>" ;
						?>
									<td><a href="<?php echo $this->Html->url(array('action' => 'view', $item['Resourceinfo']['id'])) ?>" title="<?php echo $item["Resourceinfo"]["o_name"] ?>"><img width="90" height="68" alt="" src="<?php echo $this->Html->url("/uploads/resourceinfo_image/filename/thumb/feature/".$item["ResourceinfoImage"]["filename"]) ?>"></a></td>
						<?php if($k%5 == 4) echo "</tr>" ; } ?>
						
						
					</tbody></table>
				
				</div>
	<?php } ?>			
				
				
				
					
			</div><!--end group-->
			
			
			
			<script type="text/javascript">
			$(function(){
				$('#metadata').html($('#metadataz').html());
			});
						
			</script>

			
                        